package com.qiangesoft.cloud.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@RequestMapping("/payment")
@RestController
public class PaymentController {

    @GetMapping("/add")
    public String add(String name) {
        System.out.println(name + "支付成功");
        return "8002:" + UUID.randomUUID().toString().replace("-", "");
    }
}
